// 科研项目编辑页面配置
export const projectConfig = {
  title: "科研项目信息",
  icon: "project",
  fields: [
    {
      key: 'projectTitle',
      label: '标题',
      required: true,
      type: 'text',
      placeholder: '请输入项目标题'
    },
    {
      key: 'projectID',
      label: 'ID',
      required: true,
      type: 'text',
      placeholder: '请输入项目ID'
    },
    {
      key: 'projectType',
      label: '项目类型',
      required: true,
      type: 'select',
      placeholder: '请选择项目类型'
    },
    {
      key: 'participants',
      label: '主持人',
      required: true,
      type: 'text',
      placeholder: '请输入主持人'
    },
    {
      key: 'projectOrg',
      label: '所属机构',
      required: true,
      type: 'text',
      placeholder: '请输入所属机构'
    },
    {
      key: 'status',
      label: '合作单位',
      required: true,
      type: 'text',
      placeholder: '请选择合作单位'
    },
    {
      key: 'startDate',
      label: '起始时间',
      required: true,
      type: 'date',
      placeholder: '请选择起始时间'
    },
    {
      key: 'endDate',
      label: '终止时间',
      required: true,
      type: 'date',
      placeholder: '请选择终止时间'
    },
    {
      key: 'funding',
      label: '资助金额',
      required: true,
      type: 'text',
      placeholder: '请输入资助金额'
    },
    {
      key: 'state',
      label: '状态',
      required: true,
      type: 'select',
      placeholder: '请选择状态'
    },
    {
      key: 'money',
      label: '经费总额',
      required: true,
      type: 'text',
      placeholder: '请输入经费总额'
    }
  ],
  uploadAreas: [
    {
      key: 'address',
      label: '申请书/申报书',
      required: true,
      accept: '.pdf,.doc,.docx',
      multiple: true  // 支持多文件上传
    },
    {
      key: 'original',
      label: '结题报告',
      required: false,
      accept: '.pdf,.doc,.docx',
      multiple: true  // 支持多文件上传
    }
  ]
};
